stylecontext: Explicitly specify root node
authorBenjamin Otte <otte@redhat.com>
Mon, 19 Jan 2015 00:07:49 +0000 (01:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 19 Jan 2015 00:12:50 +0000 (01:12 +0100)
commite649c8773f0357df19f4e28aabf40a203a39c409
tree95198356abc479eb1af8e80d7afecab0b83fccf9
parent1a38c4d066951c9b339e1d26423858cd03181156
stylecontext: Explicitly specify root node

When creating the query path, explicitly specify if it's for a root node
or for a child. Relying on gtk_style_context_is_saved() is unreliable
(for example when updating the cache).
gtk/gtkstylecontext.c